package com.water.dao;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * @author wsj
 * @version 1.0
 * @description: TODO
 * @date 2022/1/8 17:20
 */
@Repository("hhh") //加上这个value：hhh，相当于给这个bean起名字id，唯一标识，默认是类名首字母小写teamDao
public class TeamDao {

    public void add(){
        System.out.println("=======TeamDao的add方法===========");
    }

    public TeamDao(){
        System.out.println("=========teamDao默认构造方法===========");
    }

}
